﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using MC.RideEventMVC.Models.Entity;

namespace MC.RideEventMVC.Models
{
    public class PreferenceModel
    {
        public int Id { get; set; }

        [Required(ErrorMessage = "*")]
        [Display(Name = "Age")]
        public int Age { get; set; }

        [Required(ErrorMessage = "*")]
        [Display(Name = "Fumeur")]
        public bool Smoker { get; set; }

        [Required(ErrorMessage = "*")]
        [Display(Name = "Places Disponibles")]
        public int NumberPlaces { get; set; }

        [Required(ErrorMessage = "*")]
        [Display(Name = "Style conduite")]
        public int DriverStyleId { get; set; }
    }
}